/**
 * @description 问卷题型数据
 * @author liyujie
 */

export default [
    {
        title: '选择题',
        id: 1,
        types: [
            {
                title: '单选',
                id: 10,
                icon: 'el-icon-hand-danxuan1',
                value: {
                    title: '',
                    // 题干说明开关
                    has_intro: 0,
                    // 题干说明
                    intro: '',
                    type: 2,
                    required: 1,
                    disabled: 0,
                    length_type: 0,
                    value_length_min: -1,
                    value_length_max: -1,
                    // 表单项提示
                    hint: '',
                    pagination_stay_time: -1,
                    value_validation_type: 0,
                    value_validation_rule: '',
                    // 样式
                    classes: {
                        overflow_fold: 0
                    },
                    name: '',
                    default: {},
                    options: [
                        {
                            option_type: 1,
                            title: '选项1',
                            has_intro: 0,
                            intro: '',
                            image_url: '',
                            length_type: 0,
                            edit_content_hint: '',
                            edit_content_length_min: -1,
                            edit_content_length_max: -1,
                            edit_content_validation_type: 0,
                            edit_content_validation_rule: '',
                            edit_content_require: 1
                        },
                        {
                            option_type: 1,
                            title: '选项2',
                            has_intro: 0,
                            intro: '',
                            image_url: '',
                            edit_content_hint: '',
                            edit_content_length_min: -1,
                            edit_content_length_max: -1,
                            edit_content_validation_type: 0,
                            edit_content_validation_rule: '',
                            edit_content_require: 1
                        }
                    ],
                }
            },
            {
                title: '多选',
                id: 11,
                icon: 'el-icon-hand-duoxuan',
                value: {
                    title: '',
                    has_intro: 0,
                    intro: '',
                    type: 3,
                    required: 1,
                    disabled: 0,
                    length_type: 0,
                    value_length_min: -1,
                    value_length_max: -1,
                    hint: '',
                    pagination_stay_time: -1,
                    value_validation_type: 0,
                    value_validation_rule: '',
                    classes: {
                        overflow_fold: 0
                    },
                    name: '',
                    default: {},
                    options: [
                        {
                            option_type: 1,
                            title: '选项1',
                            has_intro: 0,
                            intro: '',
                            image_url: '',
                            length_type: 0,
                            edit_content_hint: '',
                            edit_content_length_min: -1,
                            edit_content_length_max: -1,
                            edit_content_validation_type: 0,
                            edit_content_validation_rule: '',
                            edit_content_require: 1
                        },
                        {
                            option_type: 1,
                            title: '选项2',
                            has_intro: 0,
                            intro: '',
                            image_url: '',
                            edit_content_hint: '',
                            edit_content_length_min: -1,
                            edit_content_length_max: -1,
                            edit_content_validation_type: 0,
                            edit_content_validation_rule: '',
                            edit_content_require: 1
                        }
                    ],
                }
            },
            {
                title: '多图选择',
                id: 12,
                icon: 'el-icon-hand-duotuxuanze',
                value: {
                    title: '',
                    has_intro: 0,
                    intro: '',
                    type: 10,
                    required: 1,
                    disabled: 0,
                    length_type: 0,
                    value_length_min: -1,
                    value_length_max: -1,
                    hint: '',
                    pagination_stay_time: -1,
                    value_validation_type: 0,
                    value_validation_rule: '',
                    classes: {
                        overflow_fold: 0
                    },
                    name: '',
                    default: {},
                    options: [],
                }
            },
            {
                title: '单图选择',
                id: 13,
                icon: 'el-icon-hand-tupianxuanze',
                value: {
                    title: '',
                    has_intro: 0,
                    intro: '',
                    type: 13,
                    required: 1,
                    disabled: 0,
                    length_type: 0,
                    value_length_min: -1,
                    value_length_max: -1,
                    hint: '',
                    pagination_stay_time: -1,
                    value_validation_type: 0,
                    value_validation_rule: '',
                    classes: {
                        overflow_fold: 0
                    },
                    name: '',
                    default: {},
                    options: [],
                }
            }
        ]
    },
    {
        title: '填空题',
        id: 2,
        types: [
            {
                title: '单项填空',
                id: 20,
                icon: 'el-icon-hand-dantiankong',
                value: {
                    title: '',
                    has_intro: 0,
                    intro: '',
                    type: 1,
                    required: 1,
                    disabled: 0,
                    length_type: 0,
                    value_length_min: -1,
                    value_length_max: -1,
                    hint: '',
                    pagination_stay_time: -1,
                    value_validation_type: 0,
                    value_validation_rule: '',
                    classes: {
                        overflow_fold: 0
                    },
                    name: '',
                    default: {},
                    options: [],
                }
            },
            {
                title: '多项填空',
                id: 21,
                icon: 'el-icon-hand-duotiankong',
                value: {
                    title: '',
                    has_intro: 0,
                    intro: '',
                    type: 11,
                    required: 1,
                    disabled: 0,
                    length_type: 0,
                    value_length_min: -1,
                    value_length_max: -1,
                    hint: '',
                    pagination_stay_time: -1,
                    value_validation_type: 0,
                    value_validation_rule: '',
                    classes: {
                        overflow_fold: 0
                    },
                    name: '',
                    default: {},
                    options: [
                        {
                            option_type: 2,
                            title: '填空1',
                            has_intro: 0,
                            intro: '',
                            image_url: '',
                            length_type: 0,
                            edit_content_hint: '',
                            edit_content_length_min: -1,
                            edit_content_length_max: -1,
                            edit_content_validation_type: 0,
                            edit_content_validation_rule: '',
                            edit_content_require: 1
                        },
                        {
                            option_type: 2,
                            title: '填空2',
                            has_intro: 0,
                            intro: '',
                            image_url: '',
                            edit_content_hint: '',
                            edit_content_length_min: -1,
                            edit_content_length_max: -1,
                            edit_content_validation_type: 0,
                            edit_content_validation_rule: '',
                            edit_content_require: 1
                        }
                    ],
                }
            }
        ]
    },
    {
        title: '分页',
        id: 3,
        types: [
            {
                title: '分页栏',
                id: 30,
                icon: 'el-icon-hand-fenye',
                value: {
                    title: '',
                    has_intro: 0,
                    intro: '',
                    type: 12,
                    required: 1,
                    disabled: 0,
                    length_type: 0,
                    value_length_min: -1,
                    value_length_max: -1,
                    hint: '',
                    pagination_stay_time_type: 0,
                    pagination_stay_time: -1,
                    value_validation_type: 0,
                    value_validation_rule: '',
                    classes: {
                        overflow_fold: 0
                    },
                    name: '',
                    default: {},
                    options: []
                }
            },
            {
                title: '一题一栏',
                id: 31,
                icon: 'el-icon-hand-yitiyiye',
                value: {
                    title: '',
                    type: 99,
                    disabled: 0,
                    options: [],
                    required: 1,
                }
            }
        ]
    },
    {
        title: '其他题型',
        id: 4,
        types: [
            {
                title: '上传图片',
                id: 40,
                icon: 'el-icon-hand-tupianshangchuan',
                value: {
                    title: '',
                    has_intro: 0,
                    intro: '',
                    type: 5,
                    required: 1,
                    disabled: 0,
                    length_type: 0,
                    value_length_min: -1,
                    value_length_max: -1,
                    hint: '',
                    pagination_stay_time: -1,
                    value_validation_type: 0,
                    value_validation_rule: '',
                    classes: {
                        overflow_fold: 0
                    },
                    name: '',
                    default: {},
                    options: [],
                }
            }
        ]
    }
];
